﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace STF.OrangeDog.Model
{
    public class TextCategory:BaseModel
    {
       
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(50), Column(TypeName = "varchar(50)")]
        [Display(Name = "类别名称")]
        public string title { get; set; }
        [Required]
        public int parentId { get; set; }
    }
}
